<?php

namespace App\Http\Controllers\Api;

use App\Requests\Api\Users\ListRequest;
use App\Requests\Api\Users\StoreRequest;
use App\Requests\Api\Users\UpdateRequest;
use App\Service\DailyRecordService;
use App\Service\UsersService;
use App\Http\Controllers\Controller;
use App\Service\WeChatService;
use App\Transformers\Users\UsersTransformer;

class WeChatController extends Controller
{
    protected $usersService;
    protected $fractal;
    protected $usersTransFormer;
    protected $dailyRecordService;
    protected $weChatService;

    public function __construct(
        UsersService $usersService,
        DailyRecordService $dailyRecordService,
        WeChatService $weChatService,
        UsersTransformer $usersTransFormer
    ){
        $this->usersService = $usersService;
        $this->dailyRecordService = $dailyRecordService;
        $this->weChatService = $weChatService;
    }

    public function notify() {
        $this->weChatService->notify();
    }

    public function params() {
        $this->weChatService->params();
    }
    public function test() {
        $this->weChatService->test();
    }

    public function getPayParams() {
        var_dump(111);die;
    }



}
